Skip to content

Commit

Permalink
Fix latest tag generation: (#6)
Browse files Browse the repository at this point in the history
it is no longer equal to `main`, but equal to `last tag`/`last release`
  • Loading branch information
damyan authored Jun 13, 2023
1 parent e71501e commit cdbfe7e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
type=ref,event=pr
type=sha
flavor: |
latest=${{ github.ref == 'refs/heads/main' }}
latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
type=ref,event=pr
type=sha
flavor: |
latest=${{ github.ref == 'refs/heads/main' }}
latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
type=ref,event=pr
type=sha
flavor: |
latest=${{ github.ref == 'refs/heads/main' }}
latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
Expand Down
1 change: 1 addition & 0 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ RUN git clone https://github.com/damyan/dotfiles.git .dotfiles && cd .dotfiles &
COPY --from=yq /usr/bin/yq /usr/local/bin/yq

RUN chmod a+x /usr/local/bin/yq

1 change: 1 addition & 0 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential golang-1.19-go golang-1.20-go make \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions net/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ RUN apt-get update \
bind9-dnsutils mtr-tiny net-tools \
psmisc procps iperf3 tshark \
&& rm -rf /var/lib/apt/lists/*

0 comments on commit cdbfe7e

Please sign in to comment.