Skip to content

Commit 42a246a

Browse files
committed
Fix GH Action for tags + update README
1 parent 51e436b commit 42a246a

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/_build-linux.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,17 @@ jobs:
6565
run: dgoss run steamcmd:${{ inputs.name }} --entrypoint=""
6666

6767
# master
68-
- name: Tag and Push Docker image.
68+
- name: Tag image
6969
run: >
7070
for TAG in ${{ inputs.tags }};
7171
do
7272
docker tag steamcmd:${{ inputs.name }} docker.io/${{ env.DKR_ORG }}/steamcmd:${TAG};
7373
docker tag steamcmd:${{ inputs.name }} ghcr.io/${{ env.GH_ORG }}/steamcmd:${TAG};
7474
done
75-
docker push docker.io/${{ env.DKR_ORG }}/steamcmd --all-tags;
76-
docker push ghcr.io/${{ env.GH_ORG }}/steamcmd --all-tags;
77-
if: ${{ (github.ref == 'refs/heads/master') && (inputs.tags != '') }}
75+
if: ${{ inputs.tags != '' }}
76+
77+
- name: Push image
78+
run: |
79+
docker push docker.io/${{ env.DKR_ORG }}/steamcmd --all-tags
80+
docker push ghcr.io/${{ env.GH_ORG }}/steamcmd --all-tags
81+
if: ${{ github.ref == 'refs/heads/master' }}

.github/workflows/description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
update-docker-readme:
1212
runs-on: ubuntu-24.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1515
- name: Update Docker Hub Description
1616
uses: peter-evans/dockerhub-description@v2
1717
env:

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ have a look at [steamcmd.net](https://www.steamcmd.net).
2424
* [`ubuntu-24`, `ubuntu-noble`, `ubuntu`, `latest`](dockerfiles/ubuntu-24/Dockerfile)
2525
* [`ubuntu-22`, `ubuntu-jammy`](dockerfiles/ubuntu-22/Dockerfile)
2626
* [`ubuntu-20`, `ubuntu-focal`](dockerfiles/ubuntu-20/Dockerfile)
27-
* [`ubuntu-18`, `ubuntu-bionic`](dockerfiles/ubuntu-18/Dockerfile)
28-
* [`ubuntu-16`, `ubuntu-xenial`](dockerfiles/ubuntu-16/Dockerfile)
2927
* [`debian-13`, `debian-trixie`, `debian`](dockerfiles/debian-13/Dockerfile)
3028
* [`debian-12`, `debian-bookworm`](dockerfiles/debian-12/Dockerfile)
3129
* [`debian-11`, `debian-bullseye`](dockerfiles/debian-11/Dockerfile)

0 commit comments

Comments
 (0)