Docker action versions
/ build_and_test (pull_request) Failing after 11s Details

pull/1/head
jhot 2023-09-15 12:25:50 -06:00
parent 49b0624084
commit 5b00e2f10a
Signed by: jhot
GPG Key ID: 612ED70E22571DD4
1 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@ jobs:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v3
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
uses: https://github.com/docker/setup-buildx-action@v2.10.0
- name: Docker metadata
id: meta
uses: https://github.com/docker/metadata-action@v5
uses: https://github.com/docker/metadata-action@v4.6.0
with:
images: name/app
tags: |
@ -28,13 +28,13 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: https://github.com/docker/login-action@v3
uses: https://github.com/docker/login-action@v2.2.0
with:
registry: code.jhot.me
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v4.2.1
with:
context: .
push: ${{ github.event_name != 'pull_request' }}