Skip to content

Commit

Permalink
update action versions for uploading docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Jun 13, 2024
1 parent 0717812 commit c27b396
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,21 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

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

- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v3.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v5.5.0
with:
images: ${{ matrix.image }}

- name: Build and push Docker images
uses: docker/build-push-action@v5
uses: docker/build-push-action@v5.4.0
with:
file: ${{ matrix.dockerfile }}
push: true
Expand Down

0 comments on commit c27b396

Please sign in to comment.