Merge pull request 'fix: standardize Gitea Actions workflow format and add version comments' (#8) from fix/action-version-comments into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 31s
Docker Build and Push / test (push) Successful in 14s
Docker Build and Push / push (push) Successful in 21s

Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
2026-06-11 21:13:23 -04:00
+9 -9
View File
@@ -9,20 +9,20 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: https://github.com/hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
dockerfile: Dockerfile
build:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: https://github.com/actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
- name: Save image
run: docker save ci-image:${{ github.sha }} -o image.tar
- uses: https://github.com/ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
- uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main
with:
name: docker-image
path: image.tar
@@ -30,8 +30,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: https://github.com/actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
@@ -43,13 +43,13 @@ jobs:
needs: test
if: github.event_name != 'pull_request'
steps:
- uses: https://github.com/actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- uses: https://github.com/docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}