Skip to content

Commit

Permalink
Fixed CI docker nightly publication (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcanpilami committed Oct 2, 2022
1 parent d3e65d1 commit b5ff365
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Useful echo of the github obj
id: echo_github_object
Expand All @@ -57,14 +57,14 @@ jobs:
run: echo "$GITHUB_CONTEXT_TO_JSON"

- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

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

- name: Cache Docker layers
uses: actions/cache@v2
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: enioka/mage

Expand All @@ -97,7 +97,7 @@ jobs:
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
tags: ${{ steps.docker_tag.outputs.value }}
tags: enioka/mage:${{ steps.docker_tag.outputs.value }}
context: .
file: ./docker/Dockerfile
push: true
Expand Down

0 comments on commit b5ff365

Please sign in to comment.