Skip to content

chore(deps): update proget.inedo.com/productimages/inedo/proget docke… #646

chore(deps): update proget.inedo.com/productimages/inedo/proget docke…

chore(deps): update proget.inedo.com/productimages/inedo/proget docke… #646

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
packages: write
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
# TAG: linux
TAG: latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Init
run: ./bin/init.sh
shell: bash
- name: docker-config
uses: containerbase/internal-tools@7e72a69bea17a290f4fb09e2844311d62147c75a # v3.0.87
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