Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrated CI containers to boostorg/mysql #311

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/docker-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- { image: mariadb, dockerfile: mariadb, platforms: "linux/amd64, linux/arm64/v8" }

permissions:
contents: read
packages: write
contents: read # checkout
packages: write # publish Docker packages

runs-on: ubuntu-latest

Expand All @@ -61,8 +61,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: anarthal-containers
password: ${{ secrets.ANARTHAL_CONTAINERS_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
Expand All @@ -72,4 +72,4 @@ jobs:
file: tools/docker/${{ matrix.dockerfile }}.dockerfile
build-args: ${{ matrix.build-args }}
platforms: ${{ matrix.platforms }}
tags: ghcr.io/anarthal-containers/${{ matrix.image }}:${{ github.sha }}, ghcr.io/anarthal-containers/${{ matrix.image }}:latest
tags: ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ github.sha }}, ghcr.io/${{ github.repository }}/${{ matrix.image }}:latest
10 changes: 5 additions & 5 deletions .github/workflows/docker-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- { image: build-msvc14_3, base-image: "cppalliance/dronevs2022:1" }

permissions:
contents: read
packages: write
contents: read # checkout
packages: write # publish Docker packages

runs-on: windows-2019

Expand All @@ -41,11 +41,11 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: anarthal-containers
password: ${{ secrets.ANARTHAL_CONTAINERS_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
run: |
FULL_IMAGE=ghcr.io/anarthal-containers/${{ matrix.image }}
FULL_IMAGE=${{ github.repository }}/${{ matrix.image }}
docker build -f tools/docker/build-msvc.dockerfile --build-arg BASE_IMAGE=${{ matrix.base-image }} -t $FULL_IMAGE:$GITHUB_SHA -t $FULL_IMAGE:latest .
docker push $FULL_IMAGE --all-tags
Loading