Skip to content

Commit

Permalink
Update the publish.yml template in Step 1 (#32)
Browse files Browse the repository at this point in the history
* Bump actions/checkout from 3 to 4

Update the publish.yml template in Step 1

* Bump some Actions in the publish.yml template

Bump docker/metadata-action from 4 to 5
Bump docker/login-action from 2 to 3
Bump docker/build-push-action from 4 to 5
  • Loading branch information
sinsukehlab committed Oct 30, 2023
1 parent bf22185 commit 805d3fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/steps/1-create-the-workflow-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ We'll start by creating the workflow file to publish a Docker image to GitHub Pa
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# Add your test steps here if needed...
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/YOURNAME/publish-packages/game
tags: type=sha
- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down

0 comments on commit 805d3fc

Please sign in to comment.