aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:32:49 -0800
committerTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:32:49 -0800
commit903a1af3d4dcfefc8e18a753c4c78b5c6391aff7 (patch)
treea4c496ff40113a943919dfd35723471b0d9222d0
parent7bcc657733bed243370a37f83ecd8849106924dc (diff)
downloaddn42peering-903a1af3d4dcfefc8e18a753c4c78b5c6391aff7.tar
dn42peering-903a1af3d4dcfefc8e18a753c4c78b5c6391aff7.tar.gz
dn42peering-903a1af3d4dcfefc8e18a753c4c78b5c6391aff7.tar.bz2
dn42peering-903a1af3d4dcfefc8e18a753c4c78b5c6391aff7.zip
ci: fix Docker
-rw-r--r--.github/workflows/publish.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 5fc412d..6edb945 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -16,19 +16,16 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v1
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.CR_PAT }}
- name: Generate tag
run: echo "CUSTOM_DOCKER_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Build and push central Docker image
- uses: docker/build-push-action@v2.2.1
+ uses: docker/build-push-action@v1
with:
- tags: ghcr.io/Trumeet/dn42peering:$CUSTOM_DOCKER_TAG
- push: true
+ registry: ghcr.io
+ username: ${{ github.repository_owner }}
+ password: ${{ secrets.PAT }}
+ repository: ${{ github.repository }}
+ tags: $CUSTOM_DOCKER_TAG
build_agent:
runs-on: ubuntu-latest
steps: