Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
c92s committed Sep 16, 2024
1 parent b2881f4 commit 2efc954
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
- name: Login to docker container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKER_LOGIN_PASS }}
password: ${{ secrets.DOCKER_LOGIN_PASS }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}/hello-flask:latest
platforms: linux/amd64,linux/arm64
tags: c92s/hello-flask:latest

0 comments on commit 2efc954

Please sign in to comment.