Skip to content

chore(deps): update containerbase/internal-tools action to v5.0.15 #1394

chore(deps): update containerbase/internal-tools action to v5.0.15

chore(deps): update containerbase/internal-tools action to v5.0.15 #1394

Workflow file for this run

name: build
on:
push:
env:
OWNER: ${{ github.repository_owner }}
FILE: proget
IMAGE: ghcr.io/${{ github.repository_owner }}/proget
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
env:
# TAG: linux
TAG: latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Init
run: ./bin/init.sh
shell: bash
- name: docker-config
uses: containerbase/internal-tools@d8e01b9eaf971f0f0443566d0bad3f8923288c0e # v5.0.15
with:
command: docker-config
- name: Build the Docker image
run: docker buildx bake --progress plain test
- name: Test run
run: docker compose --file docker-compose.test.yml run sut
working-directory: ./linux
env:
IMAGE: ${{ env.IMAGE }}:${{ env.TAG }}
- name: Log into registry
if: github.ref == 'refs/heads/main'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
- name: Publish the Docker image
if: github.ref == 'refs/heads/main'
run: docker buildx bake build
release:
needs: build
permissions:
contents: write
runs-on: ubuntu-latest
if: github.ref_name == 'main'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Init
run: ./bin/init.sh
- uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
with:
skipIfReleaseExists: true
immutableCreate: true
body: See https://my.inedo.com/downloads/issues?product=ProGet&fromVersion=${{ env.VERSION }}&toVersion=${{ env.VERSION }} for more changes
commit: ${{ github.sha }}
name: ${{ env.VERSION }}
tag: v${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}