Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #56 from kei711/feature/action
Browse files Browse the repository at this point in the history
ci: use version tag
  • Loading branch information
kei711 authored Apr 17, 2022
2 parents 97ec4eb + 3613fae commit 6e6d08e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@f6d32ad0236599ffe0bb261e71184c3e4e1d47cd
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@47c365107cb34e788d99cf3d89acf424b505b3e8
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
uses: docker/build-push-action@v2
with:
context: .
push: true
Expand Down

0 comments on commit 6e6d08e

Please sign in to comment.