Skip to content

Commit

Permalink
Update docker-pakage-publish.yml
Browse files Browse the repository at this point in the history
change develop to testing to reflect change of branch name
  • Loading branch information
ripps818 authored Feb 19, 2024
1 parent bd2781e commit d2f9f86
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-pakage-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Move Docker Image to Packages
name: Copy Testing to Latest
on:
workflow_dispatch:
inputs:
Expand All @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand All @@ -25,13 +25,13 @@ jobs:
password: ${{ secrets.GHCR_TOKEN }}

- name: Pull Docker image
run: docker pull ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:develop
run: docker pull ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:testing

- name: Tag Docker image
run: docker tag ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:develop ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:latest
run: docker tag ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:testing ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:latest

- name: Push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down

0 comments on commit d2f9f86

Please sign in to comment.